Both functions exclude each other. The pulse counter disables the GPIO functionality, and vice versa, the GPIO functionality disables the pulse counter. Detailed AT command descriptions can be found in [1].The pulse counter is designed to measure signals from 0 to 1000 pulses per second. It can be operated either in Limit counter mode or Start-Stop mode. Depending on the selected mode the counted value is either the number of pulses or the time (in milliseconds) taken to generate a number of pulses specified with AT^SCCNT. For reliable pulse detection a duty cycle of 50% on a pulse signal with 1000 pulses per second is required. This means, that a "low"- resp. "high"-signal duration of at least 500µs is required. Shorter signals may lead to inaccuracy of the pulse detection.In Limit counter mode, the displayed measurement result (URC “^SSCNT: <count>”) implies an inaccuracy <5ms. In Start-Stop mode, you can achieve 100% accuracy if you take care that no pulses are transmitted before starting the pulse counter (AT^SSCNT=0 or 1) and after closing the pulse counter (AT^SSCNT=3).
|